#!/web/cgi-bin/php5
<?php
/**
 *
 * 
 * @author David Christian Liedle <david.liedle@gmail.com>
 * @link   http://nmox.org/
 *
 */

header("Content-type: text/html\n\n");

echo <<<EOF
<html>
 <head>
  <title>Running PHP5 as CGI</title>
 </head>
<body>
 <h1>PHP5 running as CGI</h1>
 <p>[ <a href="index.html">Back</a> ]</p>
 <ul>

EOF;

for($i=0;$i<10;$i++){
  echo "   <li>Test $i</li>\n";
}

echo <<<EOF
  </ul>
 </body>
</html>

EOF;

?>
